package com.yc.boot.sys.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 杨智杰
 * @since 2021/9/6 9:56
 */
@Data
@Accessors(chain = true)
@ApiModel("用户日志数据模型")
public class UserLog {

    @ApiModelProperty("日志Id")
    private Long logId;

    @ApiModelProperty("请求地址")
    private String uri;

    @ApiModelProperty("请求方式")
    private String method;

    @ApiModelProperty("操作说明")
    private String state;

    @ApiModelProperty("操作时间")
    private String createTime;

    @ApiModelProperty("用户主机")
    private String host;

    @ApiModelProperty("响应耗时")
    private Long answer;
}
